import { useSearchParams } from "react-router-dom"

const Year = () => {
    const [params] = useSearchParams()
    const id = params.get('id')
    console.log('id', id)

    return <div>year={id}</div>
}

export default Year